#pragma once


typedef pair< std::string , unsigned> CLASS;

typedef std::vector<CLASS> CLASS_LIST;

typedef pair< string, CLASS_LIST > VALUE;

typedef std::list<VALUE> VALUE_LIST;

typedef std::vector<VALUE_LIST> BAYES_STAT;

class CBayes {
    //CBayes();
    //~CBayes();

	BAYES_STAT stat;

public:
	
	bool LearnRecord(csvVector &cl);
	//bool Learn(CCsv &csv);
	bool Learn(string &filename);
};
